package org.example;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

/**
 * ClassName: AOPTest01
 * Package: org.example
 * Description:
 *
 * @Author wanghao
 * @Create 2024-07-08 10:08
 * @Version 1.0
 */
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration("classpath:applicationContext.xml")
public class AOPTest01 {

    @Autowired
    private ISale iSale;

    @Test
    public void test01(){
//        iSale.saleJianBing();
        iSale.saleYueBing();
    }
}
